package com.siyu.testPromax.Dome2;

public class test {
    public static void main(String[] args) {
        int count=0;
        for (int i=1;i<=Math.sqrt(2024);i++) {
            if(2024%i==0&&!isPrime(i)) {
                count++;
            }
        }
        System.out.println(count);
    }
    //判断是否为质数
    public static boolean isPrime(int num) {
        for (int i=2;i<=Math.sqrt(num);i++) {
            if(num%i==0) {
                return false;
            }
        }
        return true;
    }

}
